import request from '@/utils/request'
import Vue from 'vue'

export function getModelInfo(sceneId, version) {
  return request({
    url: `${Vue.prototype.bimUrl}webgl/getModelExtendInfo?sceneId=${sceneId}&version=${version}`,
    method: 'get'
  })
}

export function getSimpleModelInfo(modelId) {
  return request({
    url: `${Vue.prototype.bimUrl}webgl/getSimpleModelInfo?modelId=${modelId}`,
    method: 'get'
  })
}
